#ifndef GAMEMODEL_H
#define GAMEMODEL_H

#include <QDialog>
#include <QEvent>

namespace Ui {
class GameModel;
}

class GameModel : public QDialog
{
    Q_OBJECT

public:
    explicit GameModel(QWidget *parent = nullptr);
    ~GameModel();

    // 显示房间的人数信息
    void showInfo(int count);

protected:
    // 窗口关闭事件
    void closeEvent(QCloseEvent* ev);

private:
    Ui::GameModel *ui;
};

#endif // GAMEMODEL_H
